/**
 * dwz api
 */
import $http from '../../http/http'

/**
 * 将参数长网址转换为短网址
 * 
 * @param {待生成短网址的长网址} longUrl 
 */
export const generateDwz = longUrl => {
    return $http({
        method: "get",
        url: "urlOperations/genDwz",
        params: {
            longUrl: longUrl,
        }
    });
}